Component({
  properties: {
    select:{
      type: Boolean,
      value: false
    },
    disable: {
      type: Boolean,
      value: false
    }
  },
  data: {

  },
  methods: {
    handleSelect() {
      if (this.data.disable) {
        return;
      }
      this.triggerEvent('change', !this.data.select);
    }
  }
});
